package top.xiangqifu.fruit.dao;

import org.apache.ibatis.annotations.Mapper;
import top.xiangqifu.fruit.entity.TbFruit;

import java.util.List;

@Mapper
public interface FruitDAO {

    int add(TbFruit tbFruit);

    List<TbFruit> query(TbFruit tbFruit);

    TbFruit queryName(TbFruit tbFruit);

    int update(TbFruit tbFruit);

    int delete(TbFruit tbFruit);
}
